package com.bosssoft.enums;

import lombok.AllArgsConstructor;

/**
 * @author Li kexi
 * Created on 2021/8/18.9:01
 */
@AllArgsConstructor
public enum BgtCode implements FibEnums{

    RESION_CANT_NULL(10001,"申请原因不能为空"),
    EXPORT_ERROR(10002,"导出错误"),
    CANT_FOUND_RECORD(10003,"找不到该记录"),
    NEWS_SEND_FAILED(10004,"消息发送失败"),
    NOT_SERPPORT(10005,"该类型不支持直接录入"),
    SAVE_FAIL(10006,"保存失败"),
    CHANGE_STATUS_FAIL(10007,"改变状态过程中出错");

    private int code;

    private  String message;


    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
